<template>
<div class="myadd">
     <el-button @click="opendilaog" size="mini" type="primary">+ 添加</el-button>
</div>
   

</template>

<script>
// import Dialog from './components/Dialog.vue'

export default {
    methods:{
        opendilaog(){
            this.$emit('opendilaogfun')
        }
    }

}
</script>

<style lang="less" scoped>

.myadd{
    background-color:white;
    margin-top: 16px;
    // margin-bottom: 16px;
    padding: 10px;
    height: 30px;
        .el-button{
        float:right;
        margin-right:8%;
        // margin-bottom: 10px;
    }
}

</style>